﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AntiPatternTest_PPR
{
    public class Class1 : ISomething
    {
        public void MethodOne(int i)
        {
            if (i < 30)
            {
                MethodTwo(i + 1);
            }
        }

        public void MethodTwo(int i)
        {
            if (i < 30)
            {
                MethodOne(i + 1);
            }
        }

        public void MethodThree()
        {
            MethodFour();
        }

        public void MethodFour()
        {
            MethodThree();
        }

        public void MethodFive()
        {
            MethodFive();
        }
    }
}
